package com.lfy.modules.letter.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_site_letter
 */
@TableName(value ="sys_site_letter")
@Data
public class SiteLetterEntity implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 消息类型：0-系统消息；1-站长通知
     */
    @TableField(value = "msg_type")
    private Integer msgType;

    /**
     * 接收方id
     */
    @TableField(value = "receive_id")
    private Long receiveId;

    /**
     * 发送方id
     */
    @TableField(value = "sender_id")
    private Long senderId;
    @TableField(value = "sender_name")
    private String senderName;

    /**
     * 是否已读 0-否；1-是
     */
    @TableField(value = "is_read")
    private Integer isRead;

    /**
     * 主题
     */
    @TableField(value = "subject")
    private String subject;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 是否邮件通知：0-否；1-是
     */
    @TableField(value = "is_send_email")
    private Integer isSendEmail;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}